package com.common.utils;
public class  WDWUtil  {  
	
	/**
	 * 
	 * @param filePath
	 * @return
	 */
	public static boolean isExcel2003(String filePath) {

		return filePath.matches("^.+\\.(?i)(xls)$");

	}

	/**
	 * 	
	 * @param filePath
	 * @return
	 */
	public static boolean isExcel2007(String filePath) {

		return filePath.matches("^.+\\.(?i)(xlsx)$");

	}
  
}  